home *** CD-ROM | disk | FTP | other *** search
- Path: news.doit.wisc.edu!news
- From: jdscott@students.wisc.edu (Jim Scott)
- Newsgroups: comp.lang.c
- Subject: Using multiple modules
- Date: 2 Mar 1996 14:19:57 GMT
- Organization: UW -- Madison
- Message-ID: <4h9led$b4g@news.doit.wisc.edu>
- NNTP-Posting-Host: f181-212.net.wisc.edu
- X-Newsreader: WinVN 0.99.7
-
- I'm trying to break up growing source code into multiple modules. As
- per the FAQ, I've moved all my external definitions to a header file
- included in both the modules I'm working with.
-
- I can compile the source code into separate object files, but am unable
- to link. I get one of two errors:
-
- "symbol defined more than once" this is in reference to the only
- function in the second object file. I've checked, and it is only
- defined in the header file.
-
- "unresolved externals" and a reference to a ??main?? file. No clue
- what's happening here.
-
- In the meantime, I'm simply working with the single source file. Any
- help is greatly appreciated!
-
-